﻿<%@ Page Title="" Language="C#" MasterPageFile="MasterPage.master" AutoEventWireup="true" CodeFile="Home.aspx.cs" Inherits="Home" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    <asp:Label ID="Label2" runat="server" CssClass="content-message" 
        Text="Welcome John"></asp:Label>
    <br />
    <br />
    <asp:Label ID="Label3" runat="server" Text="What would you like to do?" 
        CssClass="contentsmall-message"></asp:Label>
    <div class="choice-category">
        <ul>
            
            <li><a style="background:url('./img/customer_icon.png') no-repeat scroll 30px 20px transparent;" href="AddCustomer.aspx">Add Customer</a></li>
            <li><a style="background:url('./img/service.png') no-repeat scroll 30px 15px transparent;" href="AddService.aspx">Add Service</a></li>
            <li><a style="background:url('./img/sub-service.png') no-repeat scroll 30px 15px transparent;" href="AddSubService.aspx">Add SubService</a></li>
            <li><a style="background:url('./img/payment.png') no-repeat scroll 30px 15px transparent;" href="AddPaymentMethod.aspx">Add Payment</a></li>
            <li><a style="background:url('./img/hoadon.png') no-repeat scroll 30px 15px transparent;" href="Report.aspx">Report</a></li>
        </ul>
    </div>
    <div class="orders-most" style="float:left;margin-top:20px;">
        <div class="orders-title" style="background:#E9E9E9;width:740px;color:#222222;font-weight:bold;padding:10px;border-bottom:1px solid rgb(204, 204, 204);">&nbsp;<asp:Label ID="Label4" runat="server" Text="Label"></asp:Label>&nbsp;new contract !!!!</div>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="ContractID" OnRowDeleting="GridView1_RowDeleting" OnSelectedIndexChanged="GridView1_SelectedIndexChanged" AllowPaging="True" OnPageIndexChanging="GridView1_PageIndexChanging">
            <Columns>
                <asp:TemplateField HeaderText="#">
                    <ItemTemplate>
                        <asp:Button ID="Button1" runat="server" CommandName="delete" OnClientClick="return confirm('Are you sure you want to cancel this Contract?');" Text="Cancel" />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="ContractID" HeaderText="ContractID">
                <ItemStyle Width="30px" />
                </asp:BoundField>
                <asp:BoundField DataField="CustomerID" HeaderText="CustomerID" />
                <asp:BoundField DataField="CustomerName" HeaderText="Customer Name" />
                <asp:BoundField DataField="DateCreate" HeaderText="Date Create" DataFormatString="{0:d}" />
                <asp:BoundField DataField="Address" HeaderText="Address" />
                <asp:BoundField DataField="Email" HeaderText="Email" />
                <asp:BoundField DataField="Phone" HeaderText="Phone" />
                <asp:BoundField DataField="Status" HeaderText="Status" />
                <asp:ButtonField ButtonType="Button" CommandName="select" HeaderText="#" Text="Feasibility" />
            </Columns>
        </asp:GridView>

    </div>
</asp:Content>

    